#!/usr/bin/env bash


wget http://dev8.cn:8001/env/Python-2.7.17.tgz -P /opt
tar zxf /opt/Python-2.7.17.tgz -C /opt
cd /opt/Python-2.7.17
./configure
make
make install
# make clean
rm -rf /opt/Python-2.7.17.tgz
rm -rf /opt/Python-2.7.17